﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SplendidCRM.Ext.Models
{
    public abstract class CaseDetailsModelBase
    {
        public Guid AssignedUserId { get; set; }
        public String Description { get; set; }
        public String Resolution { get; set; }
        public String Subject { get; set; }
        public String Priority { get; set; }
        public String Status { get; set; }
    }

    public class CaseDetailsViewModel : CaseDetailsModelBase
    {
        public String AssignedUserName { get; set; }
        public String AccountName { get; set; }
        public Guid AccountId { get; set; }
        public IEnumerable<dynamic> PriorityList { get; set; }
        public IEnumerable<dynamic> StatusList { get; set; }
        public Guid CallId { get; set; }
        public Guid CaseId { get; set; }
        public Boolean ConvertToCase { get; set; }
    }

    public class ConvertToCaseModel : CaseDetailsModelBase
    {
        public Guid CallId { get; set; }
    }

    public class CaseDetailsModel : CaseDetailsModelBase
    {
        public Guid CaseId { get; set; }
    }
}
